package com.lak.nagivation.utils;

import com.lak.nagivation.entity.RouteEntity;
import lombok.Data;

import java.util.List;

/**
 * 分页查询返回结果对象
 * Created by KinthXu on 2020/07/01.
 */
@Data
public class RouteResult {

    private Integer page;	// 处理是否成功
    private Integer pageSize;		// 处理后消息提示
    private Integer total;		// 处理后消息提示
    private List<RouteEntity> list;		// 返回数据

    public RouteResult() {

    }
    public RouteResult(Integer page, Integer pageSize, Integer total, List<RouteEntity> list) {
        this.page = page;
        this.pageSize = pageSize;
        this.total = total;
        this.list = list;
    }

}